<?php

include 'db_settings.php';
 
mysql_connect($mysql_host, $mysql_user, $mysql_password);
mysql_select_db($mysql_database);
 
$q = mysql_query(" INSERT INTO Results (user, type, result, date)
                   VALUES(	 '".$_REQUEST['user']."',
                            '".$_REQUEST['type']."',
                            '".$_REQUEST['result']."',
                            '".$_REQUEST['date']."')");

mysql_close();

?>